package org.example.managere.dto.feibiao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import java.util.Date;

/**
 * 知识图谱实体数据传输对象 - 电机向量知识库
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AmKnowledgeEntityDto {
    @NotEmpty(message = "实体ID不能为空")
    @Size(max = 10, message = "实体ID长度不能超过10")
    private String entityId;
    
    @NotEmpty(message = "实体名称不能为空")
    @Size(max = 50, message = "实体名称长度不能超过50")
    private String entityName;
    
    @NotEmpty(message = "实体分类不能为空")
    @Size(max = 50, message = "实体分类长度不能超过50")
    private String entityType;
    
    private Date entryTime;
} 